package interfaces.menu.joinGame.gamesTable;

import java.io.Serializable;

import logic.common.team.Fraction;

public class PlayerWidget implements Serializable {
	
	private static final long serialVersionUID = 2L;
	
	private String playerName;
	private Fraction fraction;
	private int score;
	
	public PlayerWidget() {}
	
	public PlayerWidget(String playerName, Fraction fraction, int score) {
		this.playerName = playerName;
		this.fraction = fraction;
		this.score = score;
	}
	
	public String getPlayerName() { return playerName; }
	
	public Fraction getFraction() { return fraction; }
	
	public int getScore() { return score; }
}